package com.wangdao.wechatmall.realm;

import lombok.Data;
import org.apache.shiro.authc.UsernamePasswordToken;

/**
 * 增加MallToken去继承UsernamePasswordToken从而去添加能够用来辨别的字符床
 * @author ZhangXiao on 2021/7/12
 */
@Data
public class MallToken extends UsernamePasswordToken {
    String type;

    public MallToken(String username, String password, String type) {
        super(username, password);
        this.type = type;
    }
}
